import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/mgt/supplyCompanyScheme/query',
    method: 'post',
    data
  })
}

export function importSupplyCompanyScheme(data) {
  return request({
    url: '/mgt/supplyCompanyScheme/importSupplyCompanyScheme',
    method: 'post',
    data
  })
}

export function getSupplyCompanyScheme(data) {
  return request({
    url: '/mgt/supplyCompanyScheme/getSupplyCompanyScheme',
    method: 'post',
    data
  })
}

export function getSupplyCompanySchemeDetailList(data) {
  return request({
    url: '/mgt/supplyCompanyScheme/getSupplyCompanySchemeDetailList',
    method: 'post',
    data
  })
}

export function saveByJson(data) {
  return request({
    url: '/mgt/supplyCompanyScheme/saveByJson',
    method: 'post',
    data
  })
}


export function conditionDelete(data) {
  return request({
    url: '/mgt/supplyCompanyScheme/conditionDelete',
    method: 'post',
    data
  })
}

export function batchDelete(data) {
  return request({
    url: '/mgt/supplyCompanyScheme/batchDelete',
    method: 'post',
    data
  })
}
